<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" href="http://hd.com/project/hdphp_fk_cms/Static/Index/css/fk.css" />
        <link rel="stylesheet" href="http://hd.com/project/hdphp_fk_cms/Static/Index/css/myOrder.css" />
        <link rel="stylesheet" type="text/css" href="http://hd.com/project/hdphp_fk_cms/Static/Index/css/success.css" />
		<link rel="stylesheet" type="text/css" href="http://hd.com/project/hdphp_fk_cms/Static/Index/css/myAddress.css"/>
		<link rel="stylesheet" type="text/css" href="http://hd.com/project/hdphp_fk_cms/Static/hdjs/hdjs.css"/>
        <link rel="stylesheet" type="text/css" href="http://hd.com/project/hdphp_fk_cms/Static/index/css/myCart1.css"/>
        <script type="text/javascript" src="http://hd.com/project/hdphp_fk_cms/Static/js/jquery-1.8.2.min.js"></script>
        <script type="text/javascript">
            var sonRess = "<?php echo U('get_ress');?>";
        </script> 
        <script type="text/javascript" src="http://hd.com/project/hdphp_fk_cms/Static/index/js/address.js"></script>
	</head>
	<body>
	    <!--载入公共页面头部区域-->
        <?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!-- 共用头部开始 -->
        <div id="head">
            <div class="header">
                <div class="headerArea">
                    <!-- 顶部左侧 -->
                    <ul class="headerTopLeft">
                        <!--如果用户已经登录就显示-->
                            <?php if($hd['session']['uname']!==NULL){ ?>
                            <li>您好,
                                <a href="" class="name">
                                    <?php echo $hd['session']['uname'];?>
                                </a>
                            </li>
                            <li class="myVancl1"><a href="<?php echo U('Login/out');?>">退出登陆</a><span class="shu">|</span><a href="<?php echo U('Index/Login/index');?>">更换用户</a></li>
                            <?php }else{ ?>
                            <li>您好,欢迎光临凡客诚品！</li>
                            <!--默认跳转到index.phpc=Login执行login控制器，a=index执行index方法    注册：默认跳转index.phpc=Register执行Register控制器，a=index,默认执行index方法-->
                            <li class="myVancl"><a href="<?php echo U('Login/index');?>">登陆</a><span class="shu">|</span><a href="<?php echo U('Register/index');?>">注册</a></li>
                        <?php } ?>
                        <li class="myVancl"><a href="">我的订单</a></li>
                        <li class="myVancl"><a href="">收藏本站</a></li>
                    </ul>
                    <!-- 顶部右侧 -->
                    <div class="headerTopRight">
                        <div class="headerTopRight_fanke" id="b">
                            <a href="" class="a_hover">我的凡客</a>
                            <span class="triangle"></span>
                            <ul class="my_fk" id="n">
                                <a href="<?php echo U('Center/index');?>" class="a_hover">我的凡客</a><span class="triangle"></span>
                                <li>
                                    <a href="<?php echo U('Center/index');?>" class="a_d">我的订单</a></li>
                                <li>
                                    <a href="<?php echo U('MyAddress/index');?>" class="a_d1">我的收货地址</a></li>
                            </ul>
                        </div>
                        <div class="headerTopRight_daohang" id="b">
                            <a href="" class="a_hover">网站导航</a>
                            <span class="triangle"></span>
                            <ul class="my_fk" id="n">
                                <a href="" class="a_hover">网站导航</a><span class="triangle"></span>
                                <li>
                                    <a href="" class="a_d">网站联盟</a></li>
                            </ul>
                        </div>
                        <div class="headerTopRight_bangzhu" id="b">
                            <a href="" class="a_hover">帮助中心</a>
                            <span class="triangle"></span>
                            <ul class="my_fk" id="n">
                                <a href="" class="a_hover">帮助中心</a><span class="triangle"></span>
                                <li>
                                    <a href="" class="a_d gouwu">购物指南</a>
                                </li>
                                <li>
                                    <a href="" class="a_d1 peisong">配送方式</a>
                                </li>
                                <li>
                                    <a href="" class="a_d2 zhifu">支付方式</a>
                                </li>
                                <li>
                                    <a href="" class="a_d3 shouhou">售后服务</a>

                                    <a href="" class="a_d4 tousu">投诉建议</a>

                                    <a href="" class="a_d5 kefu">在线客服</a>
                                </li>
                            </ul>
                        </div>
                        <div class="headerTopRight_gonggao" id="b">
                            <a href="" class="a_hover">网站公告</a>
                            <span class="triangle"></span>
                            <ul class="my_fk" id="n">
                                <a href="" class="a_hover">网站公告</a><span class="triangle"></span>
                                <li>
                                    <a href="" class="a_d zhongyao">网站公告</a>
                                </li>
                                <li>
                                    <a href="" class="a_d1 zhongyaotishi">重要提示</a>
                                </li>
                                <li>
                                    <a href="" class="a_d2 zhifutongzhi">支付通知</a>
                                </li>
                                <li>
                                    <a href="" class="a_d3 huiyuangonggao">会员公告</a>
                                </li>

                            </ul>
                        </div>
                        <div class="headerTopRight_shouji">
                            <a href="" class="a_hover">手机凡客</a>
                            <span class="triangle"></span>
                        </div>
                        <div class="headerTopRight_kefu">
                            <a href="" class="a_hover">在线客服</a>
                            <span class="triangle"></span>
                        </div>
                        <div class="headerTopRight_weixin">
                            <a href="" id="weixin1"><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/w1.jpg" alt="" /></a>
                            <a href=""><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/w2.jpg" alt="" /></a>
                            <span id="weixin" style="display:none;"><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/weixin.png" alt="" /></span>
                        </div>
                    </div>
                    <!-- headerTopRight -->

                </div>
            </div>
            <!-- 顶部左侧logo -->
            <div id="logoArea">
                <div class="VanclLogo">
                    <a href="<?php echo U('Index/Index');?>" class="track"></a>
                </div>
                <!-- 顶部右侧搜索条 -->
                <div class="VanclSearch">
                    <div class="SearchTab">
                        <!-- 搜索框开始 -->
                        <div class="Search">
                            <form action="" method="post">
                                <input type="text" class="SearchText" placeholder="搜“卡其裤”，体验与众不同" />
                                <input type="submit" class="Searchbtn" value="搜索" />
                            </form>

                        </div>
                        <!-- 搜索框结束 -->
                        <!-- 购物车 -->
                        <div class="shoppingcar" id="shoppingcar">
                            <a class="shopping">&nbsp;&nbsp;&nbsp;购物车(0)</a>
                            <span class="shopping_h" id="shopping_h">您的购物车没有任何商品</span>
                        </div>
                        <!-- 购物车结束 -->
                    </div>

                    <div class="HotSearch">
                        <p>
                            热门搜索：
                            <a href="">吉国武</a>
                            <a href="">T恤</a>
                            <a href="">卡其裤</a>
                            <a href="">长场雄</a>
                            <a href="">POLO</a>
                            <a href="">麻</a>
                            <a href="">牛仔</a>
                            <a href="">皮肤衣</a>
                            <a href="">牛津纺</a>
                        </p>
                    </div>
                </div>
                <!-- 顶部右侧搜索条结束 -->
            </div>
            <!-- 顶部logo结束 -->

            <!-- 全部商品分类 -->
            <div id="mainBox">
                <div class="allProduct">
                    <a href="javascript:;" class="fl">全部商品分类</a>
                </div>
                <!-- 右侧导航开始 -->
                <ul class="category">
                    <?php foreach ($cataData as $k=>$v){?>
                        <li class="item itempic"><a href="<?php echo U('List/index',array('cid'=>$v['cid']));?>" class="track"><?php echo $v['name'];?></a>
                            <!--隐藏分类商品开始-->
                            <div class="con">
                                <?php foreach ($v['son'] as $kk=>$vv){?>
                                    <div class="pic_content">
                                        <div class="pic">
                                            <a href="<?php echo U('Index/Content/index',array('gid'=>$vv['gid'],'type_tid'=>$vv['type_tid']));?>">
                                                <img src="http://hd.com/project/hdphp_fk_cms/<?php echo $vv['pic'];?>" alt="" />
                                            </a>
                                        </div>
                                        <div class="content">
                                            <h3><a href="<?php echo U('Index/Content/index',array('gid'=>$vv['gid'],'type_tid'=>$vv['type_tid']));?>"><?php echo $vv['gname'];?></a></h3>
                                            <span>￥<?php echo $vv['shop_price'];?></span>
                                        </div>
                                    </div>
                                <?php }?>
                            </div>              
                            <!--隐藏分类商品结束-->        
                        </li>
                    <?php }?>
                </ul>
                <!-- 右侧导航结束 -->
            </div>
            <!-- 全部商品分类结束 -->
        </div>
        <!-- 共用头部结束 -->
        
        <!--当前位置开始-->
        <div id="Myposition">
            <div class="left">
                <span>您当前的位置：</span>
                <a href="">凡客首页</a>         
                >
                <a href="">我的凡客</a>
                >
                <a href="">我的地址</a>     
            </div>
        </div>

        <!--当前位置结束-->
        <!--个人中心区域-->
        <div id="wrapper">
            <!--我的凡客左边列表开始-->
            <?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
	<div class="side-nav">
		<div class="my_vancl">
			<h2>
				<a href="<?php echo U('Index/MyVancl/index');?>">我的凡客</a>
			</h2>
		</div>
		<ul>
			<li>
				<h3>订单中心</h3>
			</li>
			<li>
				<a href="<?php echo U('Index/MyOrder/index');?>">·我的订单</a>
			</li>
		</ul>
		<ul>
			<li>
				<h3>客服服务</h3>
			</li>
			<li>
				<a href="<?php echo U('Index/Comment/index');?>">·我要评价</a>
			</li>
			<li>
				<a href="">·商品提问</a>
			</li>
		</ul>
		<ul>
			<li>
				<h3>账户管理</h3>
			</li>
			<li>
				<a href="<?php echo U('Index/MyAddress/index');?>">·收货地址</a>
			</li>
			<li>
				<a href="<?php echo U('Index/MyInfo/index');?>">·我的资料</a>
			</li>
		</ul>
	</div>
            <!--我的凡客左边列表结束-->
    				
    		<div class='olist rightContent'>
    		    <div class="ordertitle" style="margin-bottom:20px; border:none;">
                    <h3><span>地址资料</span></h3>
                </div>
                
    			<table border="0" cellspacing="0" cellpadding="0">
    				<tr class='title'><th>收货人</th><th>详细地址</th><th>电话/手机</th><th>操作</th></tr>
    				<?php foreach ($addData as $k=>$v){?>
    				    <tr><td><?php echo $v['consignee'];?></td><td><?php echo $v['address'];?></td><td><?php echo $v['mobile'];?></td><td>[<a href="<?php echo U('exit',array('id'=>$v['addid']));?>">编辑</a>] [<a href="<?php echo U('del',array('id'=>$v['addid']));?>">删除</a>]</td></tr>
    				<?php }?>
    			</table>
    			<button class="hd-btn hd-btn-success add_ress">添加新地址</button>
    			<!--添加地址-->
    			<form action="<?php echo U('addData');?>" method="post">
                    <div class="addForm" style="display: none;">
                            <ul>
                                <li class="keyi"><p>添加新地址<a href="javascript:;" class="closeAddress" style="float: right;margin-right:30px;text-decoration: none;">[关闭]</a></p></li>
                                <li><!--收货人-->
                                    <div><span>*</span> 收  货  人:&nbsp;</div>
                                    <div >
                                        <input type="text" name="consignee" id="addressee" placeholder="请准确填写真实姓名" />
                                    </div>
                                </li><!--收货人结束-->
                                <li><!--地区-->
                                    <div><span>*</span> 地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;区:</div>
                                    <div class="AddInfo" >
                                        <select class="address" name="province"  style="width:150px;height: 25px; float: left;">
                                            <option>请选择省/直辖市</option>
                                            <?php foreach ($addressData as $k=>$v){?>
                                                <option value="<?php echo $v['area_id'];?>"><?php echo $v['area_name'];?></option>
                                            <?php }?>
                                        </select>
                                        <select class="address" name="city" style="width:150px;height: 25px;float: left;"></select>
                                        <select class="address" name="county" style="width:150px;height: 25px;float: left;"></select>
                                    </div>
                                </li><!--地区结束-->
                                <li><!--详细地址-->
                                    <div><span>*</span> 详细地址:</div>
                                    <div>
                                        <input id="" class="" name="address" maxlength="80" placeholder="请填写详细路名及门牌号" value="" type="text" style="width:310px;">
                                        <p class="error">请选择县/区</p><!--错误提示-->
                                    </div>
                                </li><!--详细地址结束-->
                                <li><!--邮政编码-->
                                    <div><span>*</span> 邮政编码:</div>
                                    <div >
                                        <input placeholder="请填写正确的邮政编码" id="postal-code" name="zipCode" class="" value="" maxlength="6" type="number" style="width:160px;">
                                        <p class="error"></p><!--错误提示-->
                                    </div>
                                </li><!--邮政编码结束-->
                                <li><!--手机和座机-->
                                    <div><span>*</span>&nbsp;手&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;机:</div>
                                    <div>
                                        <input id="" class="" name="mobile" maxlength="" placeholder="手机" value="" type="tel" style="width:160px;">
                                        <p class="error">请填写正确的手机号码</p><!--错误提示-->
                                    </div>
                                </li><!--手机和座机结束-->
                                <li><input class="save_new_addr" type="submit" value=""/></li>
                            </ul>                       
                    </div>
                </form>
                <!--添加地址结束-->
    		</div>
		</div>
		<!--载入公共页面底部区域-->
        <?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!-- 底部开始 -->
<div id="bottom">
	<div class="b">
		<div class="bottomArea">
			<dl>
				<dt>关于凡客</dt>
				<dd><a href="">公司简介</a></dd>
				<dd><a href="">联系我们</a></dd>
				<dd><a href="">友情链接</a></dd>
			</dl>
			<dl>
				<dt>新手指南</dt>
				<dd><a href="">账户注册</a></dd>
				<dd><a href="">购物流程</a></dd>
				<dd><a href="">网站地图</a></dd>
				<dd><a href="">商家入驻</a></dd>
			</dl>
			<dl>
				<dt>配送范围及时间</dt>
				<dd><a href="">国内配送</a></dd>
				<dd><a href="">订单拆分</a></dd>
			</dl>
			<dl>
				<dt>支付方式</dt>
				<dd><a href="">货到付款</a></dd>
				<dd><a href="">在线支付</a></dd>
				<dd><a href="">礼品卡及账户余额</a></dd>
				<dd><a href="">其他支付方式</a></dd>
			</dl>
			<dl>
				<dt>退换货</dt>
				<dd><a href="">退换货办理流程</a></dd>
				<dd><a href="">退换货网上办理</a></dd>
				<dd><a href="">退款说明</a></dd>
				<dd><a href="">调查问卷</a></dd>
			</dl>
			<dl style="border-right:none;">
				<dt>帮助中心</dt>
				<dd><a href="">在线客服</a></dd>
				<dd><a href="">找回密码</a></dd>
				<dd><a href="">隐私声明</a></dd>
			</dl>
		</div>
		<!-- 退换货 -->
		<ul class="Return">
			<li>
				<a href="" class="returnProduct1"></a>
			</li>
			<li>
				<a href="" class="returnProduct2"></a>
			</li>
			<li>
				<a href="" class="returnProduct3"></a>
			</li>
			<li>
				<a href="" class="returnProduct4"></a>
			</li>
		</ul>
		<!-- 退换货结束 -->
	</div>
</div>
<!-- 许可证 -->
<div id="licence">
	<p>Copyright 2007 - 2014 vancl.com All Rights Reserved 京ICP证100557号 京公网安备11011502002400号 出版物经营许可证新出发京批字第直110138号</p>
	<div class="icon">
		<a href=""><img src="" alt="" class="pic1" /></a>
		<span class="pic2"></span>
		<a href=""><img src="" alt="" class="pic3" /></a>
		<a href=""><img src="" alt="" class="pic4" /></a>
		<a href=""><img src="" alt="" class="pic5" /></a>
	</div>
</div>

<!-- 许可证结束 -->
<!-- 图标 -->

<!-- 底部结束 -->
</body>

</html>
	</body>
</html>
